package com.yangjie.common.dao.criteria;

public class PaginationQueryCriteria {
	private QueryCriteria criteria = new QueryCriteria();
	private int firstRow = 0;
	private int pageSize = 10;
	
	public void clear() {
		criteria.clear();
		firstRow = 0;
//		pageSize = 10;
	}
	
	
	public QueryCriteria getCriteria() {
		return criteria;
	}
	public void setCriteria(QueryCriteria criteria) {
		this.criteria = criteria;
	}
	public int getFirstRow() {
		return firstRow;
	}
	public void setFirstRow(int firstRow) {
		this.firstRow = firstRow;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	
	
	
}
